export const WebSocketObject = {
    ws: "" // 默认应该是null.
}


export const OnMessage = (message) => {
    console.log("server msg : " + message.data)
}

export const OnOpen = (event) => {
    console.log("open con: ", event)
}

export const OnError = (err) => {
    console.log("ws err: ", err)
}
